!'use strict';
let alarmController = require('../../../app/controller/back/alarm/alarmController');
alarmController = ModelProxy(alarmController);
let router = require('express').Router();

router.get('/page', alarmController.alarmPage);
// 告警列表
router.post('/list', alarmController.alarm_List);
// 新增人工告警
router.get('/create-alarm/page', alarmController.createAlarmPage);
// 新增人工告警——zTree
router.post('/create-alarm/tree',alarmController.getStorageTree);
// 新增人工告警——确认按钮
router.post('/create-alarm/update',alarmController.alarmUpdate);
// 新增人工告警——回车确认按钮
router.post('/create-alarm/searchEnter',alarmController.searchEnter);
// 告警详情——页面
router.get('/detail/page', alarmController.alarmDetailPage);
// 告警详情——数据
router.post('/detail/date',alarmController.getAlarmDetail);
module.exports = router;
